package com.blb;

import com.blb.sevice.UserService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @author lvtian
 * @date 2023/1/6 9:23
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:spring-mybatis.xml")
public class testTrans {
    @Autowired
    private UserService userService;

    @Test
    public void testTrans(){
        userService.updateTwoUser();
    }
}
